/* utils/map.js */
// 地图相关
module.exports = {
  // 地图部分参数

  // 腾讯位置服务API
  mapKey: "	BDRBZ-3LIWB-BP7UH-JQ7R6-ETGEE-46BRD",

  // 学校精确坐标（用于地图定位和获取天气数据）
  longitude: '108.452382',
  latitude: '22.749590',

  // 是否展示 POI 点
  enablepoi: false,
  // 是否显示带有方向的当前定位点
  showLocation: true,
  // 缩放级别
  scale: 16.1,
  // 最小缩放级别，比缩放级别小0.1-0.2为宜
  minscale: 16,

  // 自定义图层
  groundoverlay: {
    // 图层透明度 0-1
    opacity: 0.8,
    // 西南角
    southwest_latitude: 22.745331,
    southwest_longitude: 108.448425,
    // 东北角
    northeast_latitude: 22.754180,
    northeast_longitude: 108.457453,
  },

  // 地图边界
  boundary: {
    // 西南角
    southwest_latitude: 22.745331,
    southwest_longitude: 108.448425,
    // 东北角
    northeast_latitude: 22.754180,
    northeast_longitude: 108.457453,
  },

  // 学校边界
  school_boundary: {
    // 东（学校最东端的 经度）
    east: 108.458093,
    // 西（学校最东端的 经度）
    west: 108.448621,
    // 南（学校最东端的 纬度）
    south: 22.745181,
    // 北（学校最东端的 纬度）
    north: 22.754263,
  },

  // 默认地点
  default_point: {
    name: "南门",
    aliases: "学校正大门",
    img: "../../images/p1.jpg",
    desc: "学校正大门\n可以通行行人和车辆",
    latitude: '22.745733',
    longitude: '108.451330',
  },

  // 地点数据（使用嵌套列表存储）
  site_data: [{
      id: 1,
      name: "楼宇",
      list: [{
          id: 1,
          name: "敷文园A",
          aliases: "1、2、3区 公共教学楼",
          img: "../../images/A.jpg",
          desc: "全校最大的教学楼，含有多媒体教室、电脑机房等教室",
          latitude: '22.746758',
          longitude: '108.452057',
        },
        {
          id: 2,
          name: "敷文园B",
          aliases: "6区 教音 | 设计 | 传媒",
          img: "../../images/B.jpg",
          desc: "听说有很多工作室、播音室、练琴房、陶艺室，不过这里的机房巨卡",
          latitude: '22.747585',
          longitude: '108.453001',
        },
        {
          id: 3,
          name: "敷文园C",
          aliases: "4区 | 体育 活动中心",
          img: "../../images/C.jpg",
          desc: "4区\n学生运动的好去处",
          latitude: '22.747232',
          longitude: '108.450548',
        },
        {
          id: 4,
          name: "敷文园D",
          aliases: "8区 行政楼",
          img: "../../images/D.jpg",
          desc: "学校众多机构所在地",
          latitude: '22.747964',
          longitude: '108.450401',
        },
        {
          id: 5,
          name: "敷文园E",
          aliases: "后勤部",
          img: "../../images/E.jpg",
          desc: "后勤部所在地",
          latitude: '22.748630',
          longitude: '108.450537',
        },
        {
          id: 6,
          name: "敷文园F",
          aliases: "后勤部",
          img: "../../images/F.jpg",
          desc: "后勤部所在地",
          latitude: '22.749230',
          longitude: '108.450620',
        },
      ]
    },
    {
      id: 2,
      name: "图书馆",
      list: [{
          id: 1,
          name: "图书馆",
          aliases: "一楼阅览室",
          img: "../../images/TSG.jpg",
          desc: "距离宿舍最近的阅览室，不过电脑声音很吵就是了",
          latitude: '22.749232',
          longitude: '108.451806',
        },
        
      ]
    },
    {
      id: 3,
      name: "二级学院",
      list: [{
          id: 1,
          name: "智能制造学院",
          aliases: "",
          img: "../../images/ZNZZ.PNg",
          desc: "至善楼2区西侧一楼",
          latitude: '22.753785',
          longitude: '108.453052',
        },
        {
          id: 2,
          name: "人工智能学院",
          aliases: "",
          img: "../../images/RGZN.jpg",
          desc: "至善楼3区一、二楼",
          latitude: '22.752036',
          longitude: '108.450559',
        },
        {
          id: 3,
          name: "土木工程学院",
          aliases: "",
          img: "../../images/TM.jpg",
          desc: "至善楼3区四、五楼",
          latitude: '22.749631',
          longitude: '108.449593',
        },
        {
          id: 4,
          name: "教育学院",
          aliases: "",
          img: "../../images/JY.png",
          desc: "嘉善楼东侧一楼",
          latitude: '22.745654',
          longitude: '108.452326',
        },
        {
          id: 5,
          name: "交通学院",
          aliases: "",
          img: "../../images/JT.jpg",
          desc: "至善楼2区东侧一楼",
          latitude: '22.750674',
          longitude: '108.449663',
        },
        {
          id: 6,
          name: "数字经济学院",
          aliases: "",
          img: "../../images/SZJJ.png",
          desc: "嘉善楼西侧一楼",
          latitude: '22.753728',
          longitude: '108.451371',
        },
        {
          id: 7,
          name: "在建教学楼",
          aliases: "",
          img: "../../images/ZJJXL.jpg",
          desc: "彰善楼东侧二楼",
          latitude: '22.752268',
          longitude: '108.449777',
        },
        
      ]
    },
    {
      id: 4,
      name: "校门",
      list: [{
          id: 1,
          name: "南门",
          aliases: "学校正大门",
          img: "../../images/p1.jpg",
          desc: "学校正大门\n可以通行行人和车辆",
          latitude: '22.745725',
          longitude: '108.451237',
        },
        
      ]
    },
    {
      id: 5,
      name: "行政楼",
      list: [{
          id: 1,
          name: "行政楼",
          aliases: "大讲堂",
          img: "../../images/XZL.jpg",
          desc: "学校最大的会议厅",
          latitude: '22.746307',
          longitude: '108.451071',
        },
        
      ]
    },
    {
      id: 6,
      name: "体育馆",
      list: [{
          id: 1,
          name: "体育馆",
          aliases: "跑道",
          img: "../../images/tyg.jpg",
          desc: "学生跑步的好去处",
          latitude: '22.750773',
          longitude: '108.451824',
        },
        
      ]
    },
    {
      id: 7,
      name: "食堂",
      list: [{
          id: 1,
          name: "一食堂",
          aliases: "大阶梯",
          img: "../../images/yst.jpg",
          desc: "这里有宽宽的大阶梯，是拍集体照的好地方",
          latitude: '22.749762',
          longitude: '108.454102',
        },
        {
          id: 2,
          name: "二食堂",
          aliases: "食堂广场",
          img: "../../images/est.jpg",
          desc: "这里经常举办各类社团活动、献血活动，以及早早的升旗",
          latitude: '22.753736',
          longitude: '108.454367',
        },
        
      ]
    },
    {
      id: 8,
      name: "宿舍",
      list: [{
          id: 1,
          name: "西席苑",
          aliases: "",
          img: "../../images/xxf.png",
          desc: "小小池塘，一方天地",
          latitude: '22.747198',
          longitude: '108.454192',
        },
        {
          id: 2,
          name: "1栋",
          aliases: "",
          img: "../../images/1d.png",
          desc: "枝繁叶茂，清新秀丽，学生往来，小心有蛇",
          latitude: '22.750593',
          longitude: '108.454166',
        },
        {
          id: 3,
          name: "2栋",
          aliases: "",
          img: "../../images/2d.png",
          desc: "学生们经常在这里拍照或者录视频",
          latitude: '22.751188',
          longitude: '108.454260',
        },
        {
          id: 4,
          name: "11栋",
          aliases: "",
          img: "../../images/11d.png",
          desc: "红砖长椅，石板道路",
          latitude: '22.747678',
          longitude: '108.455859',
        },
        {
          id: 5,
          name: "12栋",
          aliases: "",
          img: "../../images/12d.png",
          desc: "红色精神永存",
          latitude: '22.748155',
          longitude: '108.455819',
        },
        
      ]
    },
    {
      id: 9,
      name: "演艺中心",
      list: [{
          id: 1,
          name: "图书馆报告大厅",
          aliases: "",
          img: "../../images/tsdt.png",
          desc: "冲呀！干饭呀！",
          latitude: '22.749303',
          longitude: '108.452153',
        },
        {
          id: 2,
          name: "学生活动中心",
          aliases: "",
          img: "../../images/xszx.png",
          desc: "学生们的美食天地",
          latitude: '22.750865',
          longitude: '108.453053',
        },
        {
          id: 3,
          name: "学生演义中心",
          aliases: "",
          img: "../../images/xsyyzx.png",
          desc: "你爱我 我爱你 蜜雪冰城甜蜜蜜",
          latitude: '22.746038',
          longitude: '108.453709',
        },
      ]
    },
    
    {
      id: 13,
      name: "其他",
      list: [{
          id: 1,
          name: "考研教室",
          aliases: "",
          img: "https://cdnjson.com/images/2023/02/26/other_kaoyan.jpg",
          desc: "至善楼中部西侧二楼\n向考研学子致敬！",
          latitude: '25.095393',
          longitude: '110.278864',
        },
        {
          id: 2,
          name: "风雨棚",
          aliases: "",
          img: "https://cdnjson.com/images/2023/02/26/other_fengyupeng.jpg",
          desc: "学生们经常在那里举办活动或者躲雨",
          latitude: '25.097778',
          longitude: '110.279699',
        },
        {
          id: 3,
          name: "益世茶苑",
          aliases: "大益茶室",
          img: "https://cdnjson.com/images/2023/02/26/other_dayi.jpg",
          desc: "乐善楼二楼\n不妨静下心来，品一杯好茶",
          latitude: '25.093834',
          longitude: '110.278638',
        },
        {
          id: 4,
          name: "独秀书房",
          aliases: "",
          img: "https://cdnjson.com/images/2023/02/26/other_duxiu.jpg",
          desc: "清幽淡雅，是个读书的好地方",
          latitude: '25.095045',
          longitude: '110.276931',
        },
        {
          id: 5,
          name: "善学堂",
          aliases: "",
          img: "https://cdnjson.com/images/2023/02/26/other_shanxue.jpg",
          desc: "至善楼3区四楼\n一块学习小天地",
          latitude: '25.096446',
          longitude: '110.279758',
        },
        {
          id: 6,
          name: "公交车站",
          aliases: "K96站台",
          img: "https://cdnjson.com/images/2024/02/19/busstation767a09d4b027eca8.png",
          desc: "东校门旁小小车站\n承载着学生们的大学生活",
          latitude: '25.094681',
          longitude: '110.280808',
        },
        {
          id: 7,
          name: "教材领取处",
          aliases: "领书处",
          img: "https://cdnjson.com/images/2023/02/26/other_lingshu.jpg",
          desc: "榕湖家苑对面\n学期伊始，这里都挤满了学生、书本和高贵的小推车",
          latitude: '25.095193',
          longitude: '110.276211',
        },
        {
          id: 8,
          name: "阿莲健身",
          aliases: "",
          img: "https://cdnjson.com/images/2023/02/26/other_alian.jpg",
          desc: "彰善楼一楼\n学生健身的好去处",
          latitude: '25.097218',
          longitude: '110.278263',
        },
      ]
    },
  ]

}